package com.zhumr.serviceImpl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.zhumr.dao.AdviceMapper;
import com.zhumr.model.Advice;
import com.zhumr.service.IAdviceService;

@Service("adviceService")
public class AdviceServiceImpl implements IAdviceService {

	@Autowired
	private AdviceMapper adviceMapper;

	public int subAdvice(Advice ad) {
		return adviceMapper.subAdvice(ad);
	}

}
